package com.gd.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Text;

@PersistenceCapable
public class Product {
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	 @PrimaryKey
	 private Long id;	 
	 @Persistent
	 private String name;
	 @Persistent
	 private Text description;
	 @Persistent
	 private String trackingURL;
	 @Persistent
	 private String creativeURL;
	 @Persistent
	 private String trackingHTMLCode;
	 @Persistent
	 private String category;
	 @Persistent
	 private String brand;
	 @Persistent
	 private Double price;
	 @Persistent
	 private String advertiserId;
	 @Persistent
	 private String advertiserName;
	 @Persistent
	 private String upc;
	 
	public String getUpc() {
		return upc;
	}
	public void setUpc(String upc) {
		this.upc = upc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Text getDescription() {
		return description;
	}
	public void setDescription(Text description) {
		this.description = description;
	}
	public String getTrackingURL() {
		return trackingURL;
	}
	public void setTrackingURL(String trackingURL) {
		this.trackingURL = trackingURL;
	}
	public String getCreativeURL() {
		return creativeURL;
	}
	public void setCreativeURL(String creativeURL) {
		this.creativeURL = creativeURL;
	}
	public String getTrackingHTMLCode() {
		return trackingHTMLCode;
	}
	public void setTrackingHTMLCode(String trackingHTMLCode) {
		this.trackingHTMLCode = trackingHTMLCode;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getAdvertiserId() {
		return advertiserId;
	}
	public void setAdvertiserId(String advertiserId) {
		this.advertiserId = advertiserId;
	}
	public String getAdvertiserName() {
		return advertiserName;
	}
	public void setAdvertiserName(String advertiserName) {
		this.advertiserName = advertiserName;
	}
	 
	 
	 
	 
	 
	 
	 
	 
	 
	 
}
